<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<input type="hidden" name="basePath" id="basePath" value="<%=basePath%>" />
<div id="head">
	 <div class="head">
	 	<p class="left">您好，欢迎来到凤凰基金！</p>
	 	<p class="tel"><span class="ico"></span>热线电话：400-888-1688</p>
	 	<div class="nav">
	 		<a href="" class="a">登陆</a>
	 		<a href="" class="a">注册</a>
	 		<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=1">关于我们</a>
	 		<a href="<%=basePath%>shop/news/list.shtml">新闻聚点</a>
	 		<a href="<%=basePath%>shop/companyinfo/list.shtml?belongto=2">客服中心</a>
	 	</div>
	 </div>
</div>
<div id="navs">
	<a href="<%=basePath%>index.shtml" class="logo"><img src="<%=basePath%>skin/images/pf/logo.jpg"/></a>
	<div class="nav">
	<c:forEach items="${navigations }" var="navigation" varStatus="status">
		<c:choose>
		<c:when test="${fn:containsIgnoreCase(navigation.url, 'http://') }">
			<a href="${navigation.url }" target="_blank">
		</c:when>
		<c:otherwise>
			<a href="<%=basePath%>${navigation.url }" target="_blank">
		</c:otherwise>
		</c:choose>
		${navigation.name }</a>
	</c:forEach>
	</div>
</div>
<div id="clear"></div><!--清除浮动-->